<form action = "" method = "post" name = "updateCart">
<table class = "unocart">
  <tr class = "unocart_bold">
    <td width = "25%">
      {$smarty.const._UNOCART_ITEM}
    </td>
    <td width = "15%">
      {$smarty.const._UNOCART_IMAGE}
    </td>
    <td width = "10%" style = "text-align: center">
      {$smarty.const._UNOCART_NUMBER}
    </td>
    <td width = "20%" style = "text-align: center">
      {$smarty.const._UNOCART_SINGLEPRICE}
    </td>
    <td width = "10%" style = "text-align: center">
      {$smarty.const._UNOCART_PRICE_TOTAL}
    </td>
  </tr>
  {foreach from=$products item=prod name=prodfor key=key_id}
  <tr class = "unocart_prod_cart" {if $smarty.foreach.prodfor.total==$smarty.foreach.prodfor.iteration}id = "unocart_last_product"{/if}>
    <td>
      {$prod.product_name}
        <!-- Attributes output -->
        {foreach from=$prod.attributes_value item=attr}
          <p class = "unocart_cart_attribute">{$attr->attr} : {$attr->value}</p>
        {/foreach}
        <!-- End attributes output -->
    </td>
    <td class = "unocart_img_description_center">
      <a href = "{$prod.href}">
        <img src = "{$image_product_path}/{if $prod.thumb_image}{$prod.thumb_image}{else}{$no_image}{/if}" alt = "{$prod.name}" class = "unocart_img" />
      </a>
    </td>
    <td style = "text-align: center">
      {if $step != 5}<input type = "text" name = "quantity[{$key_id}]" value = "{$prod.quantity}" class = "inputbox" style = "width: 25px" />{else}{$prod.quantity}{/if}
    </td>
    <td style = "text-align: center">
      {format_price price = $prod.price}
    </td>
    <td style = "text-align: center">
      {format_price price = $prod.price*$prod.quantity}
    </td>
  </tr>
  {/foreach}
  <tr class = "unocart_subtotal">
  	<td>
	</td>
  	<td>
	</td>
  	<td class = "td_1">
		{if $step != 5}<img style = "cursor:pointer" src = "{$image_path}/images/update_cart.gif" title = "{$smarty.const._UNOCART_UPDATE_CART}" alt = "{$smarty.const._UNOCART_UPDATE_CART}" onclick = "document.updateCart.submit();" />{/if}
	</td>
  	<td>
	</td>
  	<td>
	</td>
  </tr>
  <tr class = "unocart_subtotal">
    <td colspan = "2">
    </td>
    <td class = "td_2" colspan = "2">
      {$smarty.const._UNOCART_PRICE_SUBTOTAL}
    </td>
    <td class = "td_3">
      {format_price price = $summ}
    </td>
  </tr>
  {if $rabatt_summ}
  <tr class = "unocart_subtotal">
    <td colspan = "3">
    </td>
    <td class = "td_2">
      {$smarty.const._UNOCART_RABATT_VALUE}
    </td>
    <td class = "td_3">
      {format_price price = -$rabatt_summ}
    </td>
  </tr>
  {/if}
  {if $step==5}
  <tr class = "unocart_subtotal">
    <td colspan = "3">
    </td>
    <td class = "td_2">
      {$smarty.const._UNOCART_SUMM_DELIVERY}
    </td>
    <td class = "td_3">
      {format_price price = $summ_delivery}
    </td>
  </tr>
  {/if}
  <tr class = "unocart_subtotal">
    <td colspan = "3">
    </td>
    <td class = "td_2">
      {$smarty.const._UNOCART_PRICE_TOTAL}
    </td>
    <td class = "td_3">
      {format_price price = $summ-$rabatt_summ+$summ_delivery}
    </td>
  </tr>
  <tr class = "unocart_subtotal" id = "unocart_tax">
    <td colspan = "2">
    </td>
    <td class = "td_2" colspan = "2">
      {$smarty.const._UNOCART_TAX}
      (
	  {foreach from=$array_tax item=tax key=percent_tax}
      	{$percent_tax}% = {format_price price=$tax}
      {/foreach}
      )
    </td>
    <td class = "td_3">
      {format_price price = $tax_summ}
    </td>
  </tr>
</table>
<input type = "hidden" name = "refresh" value = "1" />
<input type = "hidden" name = "option" value = "com_unocart" />
<input type = "hidden" name = "task" value = "checkout" />
<input type = "hidden" name = "skip" value = "1" />
<input type = "hidden" name = "step" value = "{$step}" />
</form>